<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false"%>

<form id="addForm" method="post"
	action="${pageContext.request.contextPath}/system/sysRoleList.do" onsubmit="return navTabSearch(this);">
	<input type="hidden" name="page.pageSize" value="${page.pageSize}" />
	<input type="hidden" id="pageNo" name="page.pageNo"
		value="${page.pageNo}" /> <input type="hidden" name="orderField"
		value="${orderField}" /> <input type="hidden" name="pageNum"
		value="1" /> <input type="hidden" name="numPerPage"
		value="${page.pageSize}" />
		<input type="hidden" name="id" id="id" value="${id}" />
		<input type="hidden" name="queryStr" id="queryStr" value="queryStr" />
	<input type="hidden" name="flag" id="flag" value="add" />

<div class="pageContent">
		
		<div class="pageFormContent" layoutH="56">
		<div class="formBar">
			<ul style="float: left;">
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="button" onClick="return add();">添加</button></div></div></li>
				<li> 
					<div class="button"><div class="buttonContent"><button type="button" onClick="return back();">取消</button></div></div>
				</li>
			</ul>
		</div>
			<p>
				<label>roleid：</label>
				<input name="tsysRole.roleid" type="text" size="30" value=""/>
			</p>
			<p>
				<label>rolename：</label>
				<input name="tsysRole.rolename" type="text" size="30" value=""/>
			</p>
			<p>
				<label>roletype：</label>
				<input name="tsysRole.roletype" type="text" size="30" value=""/>
			</p>
			<p>
				<label>comments：</label>
				<input name="tsysRole.comments" type="text" size="30" value=""/>
			</p>
			<p>
				<label>createuser：</label>
				<input name="tsysRole.createuser" type="text" size="30" value=""/>
			</p>
			<p>
				<label>createtime：</label>
				<input name="tsysRole.createtime" type="text" size="30" value=""/>
			</p>
			<p>
				<label>modifyuser：</label>
				<input name="tsysRole.modifyuser" type="text" size="30" value=""/>
			</p>
			<p>
				<label>modifytime：</label>
				<input name="tsysRole.modifytime" type="text" size="30" value=""/>
			</p>
			<p>
				<label>rightobj：</label>
				<input name="tsysRole.rightobj" type="text" size="30" value=""/>
			</p>
			<p>
				<label>operatetype：</label>
				<input name="tsysRole.operatetype" type="text" size="30" value=""/>
			</p>
		</div>
		
	</form>
</div>

<script type="text/javascript">
function add(){
	$("#addForm").attr("action", "${pageContext.request.contextPath}/system/sysRoleAdd.do");
	$("#addForm").submit();
}

function back(){
	$("#addForm").attr("action", "${pageContext.request.contextPath}/system/sysRoleList.do");
	$("#addForm").submit();
}
</script>
